.email-settings {
  padding: 20px;
}

.settings-card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.settings-card .ant-card-head {
  border-bottom: 1px solid #f0f0f0;
}

.settings-card .ant-card-head-title {
  font-size: 18px;
  font-weight: 600;
}

.settings-card .ant-card-body {
  padding: 24px;
}

.ant-tabs-tab {
  font-weight: 500;
}

.ant-tabs-tab-active {
  color: #1890ff;
}

.form-actions {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
  text-align: right;
}

.form-actions .ant-btn {
  min-width: 120px;
}

.ant-form-item-label > label {
  font-weight: 500;
}

.ant-input-number {
  width: 100%;
}

.ant-switch {
  margin-right: 8px;
}

.setting-description {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 6px;
  border-left: 4px solid #1890ff;
  margin-top: 16px;
}

.setting-description p {
  margin: 0 0 8px 0;
  font-weight: 500;
  color: #333;
}

.setting-description ul {
  margin: 0;
  padding-left: 20px;
}

.setting-description li {
  margin-bottom: 4px;
  color: #666;
  font-size: 14px;
}

.test-email-button {
  margin-top: 16px;
}

.ant-form-item-explain {
  font-size: 12px;
}

.ant-tabs-content-holder {
  padding: 16px 0;
}

.smtp-config-group {
  background: #fafafa;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.smtp-config-group .ant-form-item {
  margin-bottom: 16px;
}

.smtp-config-group .ant-form-item:last-child {
  margin-bottom: 0;
}

.email-template-preview {
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 16px;
  background: #fff;
  margin-top: 8px;
}

.email-template-preview h4 {
  margin: 0 0 8px 0;
  color: #333;
}

.email-template-preview p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

@media (max-width: 768px) {
  .email-settings {
    padding: 12px;
  }
  
  .settings-card .ant-card-body {
    padding: 16px;
  }
  
  .form-actions {
    text-align: center;
  }
  
  .form-actions .ant-btn {
    width: 100%;
  }
  
  .setting-description {
    padding: 12px;
  }
}